import gulpError from './utils/gulpError';
App({
  globalData: {
    // domain: 'https://zkapi.lvseguanjia.cn'
    domain: 'https://zkapi.lvseguanjia.cn:16062',
    'tenant-id': 1
  },
  onShow() {
    if (gulpError !== 'gulpErrorPlaceHolder') {
      wx.redirectTo({
        url: `/pages/gulp-error/index?gulpError=${gulpError}`,
      });
    }
  },
});